//
//  AppDelegate.swift
//  DSwb
//
//  Created by Mac on 2017/2/11.
//  Copyright © 2017年 com.lanlian. All rights reserved.
//Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

import UIKit
import CoreData

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        //设置全局颜色
        UITabBar.appearance().tintColor = UIColor.orangeColor()
        
        //创建window
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.rootViewController = MainViewController()
        window?.makeKeyAndVisible()
        
        return true
    }

}

